﻿using M.AuditField;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace M_Ingredient.Domain
{
   /// <summary>
   /// 原料管理
   /// </summary>
    [Table("Ingredient")]
    public class Ingredient: AuditFields
    {
        [Key]
        public int IngredientId { get; set; }
        public string? Ingredientnumber { get; set; }
        public string? IngredientName { get; set; }
        public string? IngredientFen { get; set; }
        public string? size { get; set; }
        public string? specification { get; set; }

        public string? Rawmaterialproperties { get; set; }
        public string? unit { get; set; }
        public int? Num { get; set; }

        public string? IngredientType { get; set; }

        public string? State { get; set; }
        public int? IngredientNum { get; set; }
        public int? alarmDays { get; set; }
        public int? InventoryLimit { get; set; }
        public int? InventoryMinimum { get; set; }
        public string? Rawmateriallocation { get; set; }
        public DateTime? CreatedTimess { get; set; }

        public string? remark { get; set; }
        public string? images { get; set; }
        public int? PickingId { get; set; }// 领料Id
        public int? PickingNum { get; set; }//领料数量

    }
}
